﻿<%@ Page Title="Karty kredytowe" Language="C#" MasterPageFile="~/Sites/Cards/CardsMaster.master" AutoEventWireup="true" CodeBehind="ListCreditCards.aspx.cs" Inherits="BankSite.Sites.Cards.ListCreditCards" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
                <h2>Lista Twoich kart kredytowych.</h2>
            </hgroup>
        </div>
    </section>
</asp:Content>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <asp:GridView ID="GridView1" runat="server" DataSourceID="DepositDataSource" AllowPaging="True" AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White"></AlternatingRowStyle>
        <Columns>
            <asp:CommandField ShowSelectButton="True"></asp:CommandField>
        </Columns>
        <EditRowStyle BackColor="#7C6F57"></EditRowStyle>

        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White"></FooterStyle>

        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White"></HeaderStyle>

        <PagerStyle HorizontalAlign="Center" BackColor="#666666" ForeColor="White"></PagerStyle>

        <RowStyle BackColor="#E3EAEB"></RowStyle>

        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333"></SelectedRowStyle>

        <SortedAscendingCellStyle BackColor="#F8FAFA"></SortedAscendingCellStyle>

        <SortedAscendingHeaderStyle BackColor="#246B61"></SortedAscendingHeaderStyle>

        <SortedDescendingCellStyle BackColor="#D4DFE1"></SortedDescendingCellStyle>

        <SortedDescendingHeaderStyle BackColor="#15524A"></SortedDescendingHeaderStyle>
    </asp:GridView>
        <asp:QueryExtender ID="DepositForClientFilter" runat="server" TargetControlID="DepositDataSource">
             
            <asp:RangeExpression MaxType="Inclusive" MinType="Inclusive" DataField="id">
                   <asp:SessionParameter SessionField="ClientID" />
                   <asp:SessionParameter SessionField="ClientID" />
              
            </asp:RangeExpression>
            
        </asp:QueryExtender>
        <asp:EntityDataSource runat="server" ID="DepositDataSource"
            ConnectionString="name=BankBaseEntities" DefaultContainerName="BankBaseEntities"
            EnableFlattening="False" EnableInsert="True" EnableUpdate="True"
            EntitySetName="getKarty">
        </asp:EntityDataSource>
    
    
</asp:Content>